package cn.bob.system.mapper;

import cn.bob.system.domain.Permission;
import cn.bob.basic.mapper.IBaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author bob
 * @since 2022-10-24
 */
public interface PermissionMapper extends IBaseMapper<Permission> {

    void save(Permission permission);

    Permission loadBySn(String permissionSn);

    List<String> findByLogininfoId(Long logininfoId);
}
